package com.example.klaraservice.service;

import com.example.klaraservice.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @author : Glacialerisa
 * @date : 2023/6/1 15:19
 * @desc :
 */
public interface UserService {
    public List<User> selectAllLikeNickName(String name);
    public User selectByPhone(String phone);
    public Map<String, Object> selectAll(int pageNum, int pageSize, String name);
    public boolean updateUserInfo(User user);
    public User login(String phone, String password);
    public boolean logout();
    public boolean register(String phone,String password);
}
